﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Infrastructure.Crosscutting.Comm.Service
{
    public enum HttpMethod
    {
        Get, Post, Put, Delete
    }

    public enum ProviderType
    {
        Default, Xml
    }

    public enum PushResultlType
    {
        /// <summary>
        /// 推送成功
        /// </summary>
        Success = 1,

        /// <summary>
        /// 推送失败
        /// </summary>
        Failed = 2,

        /// <summary>
        /// 错误的客户端Id
        /// </summary>
        BadDevice = 3,

        /// <summary>
        /// 内容太长
        /// </summary>
        TooLong = 4,

        /// <summary>
        /// 推送错误
        /// </summary>
        Error = 5
    }

    public enum LogType
    {
        QuerySuccess = 1, //查询成功
        QueryFail = 2,//查询失败,
        LoginSuccess = 3,//登陆成功
        LoginFail = 4,//登陆失败
        AddSuccess = 5,//添加成功
        AddFail = 6,//添加失败
        ModifySuccess = 7,//修改成功
        ModifyFail = 8,//修改失败
        DeleteSuccess = 9,//删除成功
        DeleteFail = 10//删除失败
    }
}